Fix wide-int related error and cache error in NS font handling.
authorJan D. <jan.h.d@swipnet.se>
Mon, 8 Oct 2012 18:31:39 +0000 (20:31 +0200)
committerJan D. <jan.h.d@swipnet.se>
Mon, 8 Oct 2012 18:31:39 +0000 (20:31 +0200)
commit3bd00fae3b7f546d96c82676d4ec3c06fb5c2683
tree73d54a58002908c31c81febec1fb051c371e0d98
parentb9d0e251bfaeaa440d277f56b15a516e99a97adf
Fix wide-int related error and cache error in NS font handling.

* nsfont.m (Vfonts_in_cache): New variable.
(nsfont_open): Use unsignedLongLongValue for cache in case wide ints
are used.  Add cached fonts to Vfonts_in_cache.
(syms_of_nsfont): Initialize and staticpro Vfonts_in_cache.
src/ChangeLog
src/nsfont.m